OBJ = $(patsubst %.cpp, %.o, $(wildcard *.cpp))
SHLIBS = ../../../redist/libcastle.so.1.0.0

all: $(OBJ)
	$(CXX) $^ -o gettimer $(SHLIBS) -ldl

$(OBJ) : %.o : %.cpp
	   $(CXX) -c $< -o $@
clean:
	rm -f gettimer *.o
